package com.woniuxy.ticketfile.eneity;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
@Data
@Component  //交给spring管理
@ConfigurationProperties(prefix = "oss")
public class ConstantProperties {
    private  String endpoint;
    private  String keyid;
    private  String keysecret;
    private  String bucketname;
    private  String filehost;
}